﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Shapes;

namespace _3DSensor
{
    /// <summary>
    /// Interaction logic for AbstractGestureWindow.xaml
    /// </summary>
    public partial class AbstractGestureWindow : Window
    {
        private bool isAppActive;
        private bool isBusy;
        private String currentMessage;
        public bool IsBusy
        {
            get { return isBusy; }
            set { isBusy = value; }
        }
        protected virtual void end_app()
        { }

        public bool IsAppActive
        {
            get { return isAppActive; }
            set { isAppActive = value; }
        }
        public AbstractGestureWindow()
        {
            InitializeComponent();
        }


        private void Window_Closed(object sender, EventArgs e)
        {

        }

        private void Window_Closing(object sender, System.ComponentModel.CancelEventArgs e)
        {
            end_app();
        }
    }
}
